//
//  Person.h
//  Study1
//
//  Created by ChenJie on 2/7/20.
//  Copyright © 2020 OrgName. All rights reserved.
//

#import <Foundation/Foundation.h>

@interface Person : NSObject

@property (nonatomic, strong, readonly) NSString *name;
@property (nonatomic, assign, readonly) NSInteger age;
@property (nonatomic, strong, readwrite) NSString *greeting;

- (instancetype)initWithName:(NSString *)name
                         age:(NSInteger)age
                    greeting:(NSString *)greeting;

@end
